package com.meitianhui.convenitenbuy.module.mine.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.mine.model.ConsumerAddress;

import java.util.List;

/**
 *  Created by amy on 2017/11/13.
 */

public interface ReceivingAddressContract {
    interface View extends BaseView<ReceivingAddressContract.Presenter> {

        void showDataNone();

        void showAddress(List<ConsumerAddress.ConsumerData> consumerDatas);

        void delSucc();

        void updateDefaultSucc();
    }

    interface Presenter extends BasePresenter {

        void getUserAddressInfo();

        void deleteReceivingAddress(String address_id);

        void notifyUserMajorAddress(ConsumerAddress.ConsumerData consumerData);
    }
}
